#ifndef _SHARE_MEM_
#define _SHARE_MEM_


typedef struct
{
  char* Buffer;            
  int BufferSize;  
  int DataLength; 
}ShareMem, * ShareMemPtr;


void SM_Init(ShareMemPtr theSM, char* Buffer, int theBufferSize);


extern ShareMem AppShareMem;

#endif
